package com.supersit.greensproject.utils;

import org.json.JSONObject;
import org.xutils.common.Callback;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by cong on 2016/7/20.
 */
public class UpdateSubjectData {

    public void UpdateSubject() {
        String url = "";
        Map<String, Object> params = new HashMap<String, Object>();
        HttpXUtils.Post(url, params, new MyCallBack<JSONObject>() {
            @Override
            public void onFinished() {
                super.onFinished();
            }

            @Override
            public void onCancelled(CancelledException cex) {
                super.onCancelled(cex);
            }

            @Override
            public void onError(Throwable ex, boolean isOnCallback) {
                super.onError(ex, isOnCallback);
            }

            @Override
            public void onSuccess(JSONObject result) {
                super.onSuccess(result);
            }
        });

    }


}
